package com.qf.service;

import com.qf.domain.PageBean;
import com.qf.domain.User;

import java.util.List;

/**
 * @author YDW
 * projectName:shopping
 * time:2022/4/21 11:13
 * description:
 */
public interface AdminService {
    User adminLogin(String username, String password);

    List<User> getUserList();

    void delUser(String id);

    List<User> findByUsernameAndGender(String toString, List<Object> params);

    List<User> getinvalidUserList();

    void loseUser(String id);

    List<User> findinvalidUserByUsernameAndGender(String toString, List<Object> params);

    void activateUser(String id);

    PageBean findByPage(int pageNum, int pageSize);
}
